#include<stdio.h>
#include<memory.h>
// don't for user
struct _BaseType_
{
	char* ptrChar;
	int* ptrInt;
	double* ptrDouble;
	_BaseType_()
	{
		memset( (void*)this, 0, sizeof(this) );
	}
};

enum _BaseTypeOffset
{
	_mytype_char = 0,	// 0
	_mytype_int = 2,	// sizeof(char)
};

// for user
enum AttrType
{
	attr_name,
	attr_level,
	attr_type_count,
	
};

// don't for user
int _AttrTypeOffset[attr_type_count] = 
{
	//attr_name
	_mytype_char,
	//attr_level
	_mytype_int,
};



// don't for user
class KPlayer
{

	struct _FreeAtr_
	{
		int nCount;
		_BaseType_** Type;
	};
	KPlayer()
	{

	}
};




int main( int argc, char* argv[] )
{
	return 0;
}